<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::Shark::Version&lt; major, minor, patch &gt; Struct Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_shark.html">Shark</a></li><li class="navelem"><a class="el" href="structshark_1_1_shark_1_1_version.html">Version</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="structshark_1_1_shark_1_1_version-members.html">List of all members</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::Shark::Version&lt; major, minor, patch &gt; Struct Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Models a version according to the major.minor.patch versioning scheme.  
 <a href="structshark_1_1_shark_1_1_version.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_shark_8h_source.html">shark/Core/Shark.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0cd56cd50e6836cb6b86e5979353ef44" id="r_a0cd56cd50e6836cb6b86e5979353ef44"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_shark_1_1_version.html#a0cd56cd50e6836cb6b86e5979353ef44">DEFAULT_FORMAT</a> ()</td></tr>
<tr class="memdesc:a0cd56cd50e6836cb6b86e5979353ef44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default printf-format for formatting version numbers.  <br /></td></tr>
<tr class="separator:a0cd56cd50e6836cb6b86e5979353ef44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf28eda93dd2d3cfd269fe7f05fd3139" id="r_aaf28eda93dd2d3cfd269fe7f05fd3139"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_shark_1_1_version.html#aaf28eda93dd2d3cfd269fe7f05fd3139">MAJOR</a> ()</td></tr>
<tr class="memdesc:aaf28eda93dd2d3cfd269fe7f05fd3139"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the major revision number.  <br /></td></tr>
<tr class="separator:aaf28eda93dd2d3cfd269fe7f05fd3139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06fb8113023fbda0bff520dc0d7df574" id="r_a06fb8113023fbda0bff520dc0d7df574"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_shark_1_1_version.html#a06fb8113023fbda0bff520dc0d7df574">MINOR</a> ()</td></tr>
<tr class="memdesc:a06fb8113023fbda0bff520dc0d7df574"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minor revision number.  <br /></td></tr>
<tr class="separator:a06fb8113023fbda0bff520dc0d7df574"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc94927f9746196f87cc94532b9387d5" id="r_acc94927f9746196f87cc94532b9387d5"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_shark_1_1_version.html#acc94927f9746196f87cc94532b9387d5">PATCH</a> ()</td></tr>
<tr class="memdesc:acc94927f9746196f87cc94532b9387d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the patch revision number.  <br /></td></tr>
<tr class="separator:acc94927f9746196f87cc94532b9387d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;unsigned int major, unsigned int minor, unsigned int patch&gt;<br />
struct shark::Shark::Version&lt; major, minor, patch &gt;</div><p>Models a version according to the major.minor.patch versioning scheme. </p>

<p class="definition">Definition at line <a class="el" href="_shark_8h_source.html#l00181">181</a> of file <a class="el" href="_shark_8h_source.html">Shark.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a0cd56cd50e6836cb6b86e5979353ef44" name="a0cd56cd50e6836cb6b86e5979353ef44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cd56cd50e6836cb6b86e5979353ef44">&#9670;&#160;</a></span>DEFAULT_FORMAT()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;unsigned int major, unsigned int minor, unsigned int patch&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char * <a class="el" href="structshark_1_1_shark_1_1_version.html">shark::Shark::Version</a>&lt; major, minor, patch &gt;::DEFAULT_FORMAT </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default printf-format for formatting version numbers. </p>

<p class="definition">Definition at line <a class="el" href="_shark_8h_source.html#l00184">184</a> of file <a class="el" href="_shark_8h_source.html">Shark.h</a>.</p>

</div>
</div>
<a id="aaf28eda93dd2d3cfd269fe7f05fd3139" name="aaf28eda93dd2d3cfd269fe7f05fd3139"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf28eda93dd2d3cfd269fe7f05fd3139">&#9670;&#160;</a></span>MAJOR()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;unsigned int major, unsigned int minor, unsigned int patch&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned int <a class="el" href="structshark_1_1_shark_1_1_version.html">shark::Shark::Version</a>&lt; major, minor, patch &gt;::MAJOR </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the major revision number. </p>

<p class="definition">Definition at line <a class="el" href="_shark_8h_source.html#l00189">189</a> of file <a class="el" href="_shark_8h_source.html">Shark.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_shark.html#a620b111e1c1a195fa9f4f24c885fdc00">shark::Shark::info()</a>.</p>

</div>
</div>
<a id="a06fb8113023fbda0bff520dc0d7df574" name="a06fb8113023fbda0bff520dc0d7df574"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06fb8113023fbda0bff520dc0d7df574">&#9670;&#160;</a></span>MINOR()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;unsigned int major, unsigned int minor, unsigned int patch&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned int <a class="el" href="structshark_1_1_shark_1_1_version.html">shark::Shark::Version</a>&lt; major, minor, patch &gt;::MINOR </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the minor revision number. </p>

<p class="definition">Definition at line <a class="el" href="_shark_8h_source.html#l00194">194</a> of file <a class="el" href="_shark_8h_source.html">Shark.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_shark.html#a620b111e1c1a195fa9f4f24c885fdc00">shark::Shark::info()</a>.</p>

</div>
</div>
<a id="acc94927f9746196f87cc94532b9387d5" name="acc94927f9746196f87cc94532b9387d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc94927f9746196f87cc94532b9387d5">&#9670;&#160;</a></span>PATCH()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;unsigned int major, unsigned int minor, unsigned int patch&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned int <a class="el" href="structshark_1_1_shark_1_1_version.html">shark::Shark::Version</a>&lt; major, minor, patch &gt;::PATCH </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the patch revision number. </p>

<p class="definition">Definition at line <a class="el" href="_shark_8h_source.html#l00199">199</a> of file <a class="el" href="_shark_8h_source.html">Shark.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_shark.html#a620b111e1c1a195fa9f4f24c885fdc00">shark::Shark::info()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/shark/Core/<a class="el" href="_shark_8h_source.html">Shark.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
